package com.woniu.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 店铺服务中间表 
 * </p>
 *
 * @author Lucas
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TStoreServiceMiddle implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "store_service_middle_id", type = IdType.AUTO)
    private Integer storeServiceMiddleId;

    /**
     * 二级服务id
     */
    @ApiModelProperty("二级服务id")
    private Integer storeServiceMiddleSecondServiceId;

    /**
     * 店铺id
     */
    @ApiModelProperty("店铺id")
    private Integer storeServiceMiddleStoreId;

    /**
     * 该服务总收益
     */
    @ApiModelProperty("该服务总收益")
    private Double storeServiceMiddleTotal;

    /**
     * 销量次数
     */
    @ApiModelProperty("销量次数")
    private Integer storeServiceMiddleNum;

    /**
     * 该服务抽成比列
     */
    @ApiModelProperty("该服务抽成比列")
    private Double storeServiceMiddleCommition;

    /**
     * 状态 0：下架   1：正常
     */
    @ApiModelProperty("状态 0：下架   1：正常")
    private Integer storeServiceMiddleStatus;

    /**
     * 该服务创建时间
     */
    @ApiModelProperty("该服务创建时间")
    private Date storeServiceMiddleCreateTime;

    /**
     * 二级服务名字
     */
    @ApiModelProperty("二级服务名字")
    private String secondServiceName;

    /**
     * 价格
     */
    @ApiModelProperty("价格")
    private Double secondServicePrice;



}
